<!--Created by 熊超超 on 2017/8/4.-->
<template>
  <div>
    <img src="../../../assets/image/back.jpg" style="position:absolute;z-index:0;height:100%"/>
    <mu-raised-button class="m-t-40" label="下载配置文件" secondary fullWidth @click="search">
      <cc-icon name="search" size="36" />
    </mu-raised-button>
  </div>
</template>

<script>
  import {mapState} from 'vuex'
  import mixin from '$g/mixin'
  export default {
    mixins: [mixin.updateBar],
    data() {
      return {
        headerBar: {title: this.$t('配置文件'), leftBtn: null},
        footerBar: {active: '/book'},
        aa: this.$date.format(new Date(2014, 1, 11), 'dddd')
      }
    },
    computed: {
      ...mapState({
        orgAirPort: state => state.book.orgAirPort,
        dstAirPort: state => state.book.dstAirPort
      })
    },
    methods: {
      selectAirPort (flg) {
        this.$r.push({path: '/common/citySelect', query: {flg: flg}})
      },
      changeAirPort () {
        this.$store.commit('changeAirPort')
      },
      search () {
        this.$r.push('/book/flightList')
      }
    }
  }
</script>

<style lang="less" scoped>
</style>
